#include "Calculator.h"


Calculator::Calculator(void)
{
}
Calculator::~Calculator(void)
{
}
int main ()
{
	while(true)
	{
	int n1,n2,n3,sum;
	n1=0;
	cin>>n1;
	n2=0;
	cin>>n2;
	n3=0;
	cin>>n3;
	sum=n1+n2+n3;
	cout<<sum;
	cout<<"\n";
	
	int answer=1;
	int word=0;
	cin>>word;
	for(int x=1;x<=word;x++)
	{
		answer=answer*x;
	}
	cout<<answer;


	int n4,difference;
	n1=0;
	cin>>n1;
	n2=0;
	cin>>n2;
	n3=0;
	cin>>n3;
	n4=0;
	cin>>n4;
	difference=n4-n3-n2-n1;
	cout<<difference;
	cout<<"\n";
	
	double n5,n6,quotient;
	n5=0;
	cin>>n5;
	n6=0;
	cin>>n6;
	quotient=n6/n5;
	cout<<quotient;
	cout<<"/n";
	
	double n7,n8,n9,product;
	n7=0;
	cin>>n7;
	n8=0;
	cin>>n8;
	n9=0;
	cin>>n9;
	product=n7*n8*n9;
	cout<<product;
	cout<<"/n";
	
}

}






